import { ComponentWithStore } from "mobx-miniprogram-bindings";
import { userStore } from "../../store/userStore";

// pages/welcome/registerGreeting.ts
ComponentWithStore({
  storeBindings: {
    store: userStore,
    fields: ['userInfo'],
    actions: []
  },
  /**
   * 页面的初始数据
   */
  data: {

  },
  methods: {
    onFillTap() {
      wx.navigateTo({
        url: '/pages/myRedact/myRedact'
      });
    },
    onExperienceTap() {
      wx.switchTab({
        url: '/pages/index/index'
      });
    }
  }
})
